<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title> MAGNETO Admin Skin</title>
	[#include "/commons/defaultHead.ftl"/]
	<script type="text/javascript" src="${jsDir}/system/admin/branchmanager.js"></script>
	
</head>
<body>
	
<div id="content">
<div class="column full">
		<div class="box width100 fl"> 
		<h2 class="box-header">部门管理</h2>
		<div class="box-content">
			<div class="search-box">
				部门：<input class="form-field small" id="deptNameText" style="width: 120px" type="text" value="">
				<div class="search-box-button">
					<a class="button themed" id="searchA"><span class="icon_text pack_white _10"></span>搜索</a>
					<a class="button red" id="resetA"><span class="icon_text pack_white _5"></span>清空</a>
				</div> 
			</div>
			
			<div class="toolbar">
			<a id="addDeptA" class="button white" href="javascript:void(0)"><span class="icon_text addnew"></span>新增部门</a>
			<a id="updateDeptA" class="button white" href="javascript:void(0)"><span class="icon_text edit"></span>修改部门</a>
			<a id="delDeptA" class="button white" href="#"><span class="icon_text cancel"></span>删除部门</a>
			</div>
			
		<table id="msgDatagird" style="display: none"></table>
		</div>
		</div>
		
		<div class="box-content">
		<div id="deptDialog" class="dialog" title="新增部门">
				<form id="deptForm" method="post">
					<table class="width100">
					<tr>
					<td class="width10"><label class="form-label required"> 部门： </label></td>
					<td class="width90" colspan="3">
						<input id="deptname" class="form-field" name="deptname" type="text" value="" maxlength="16"/>
					</td>
					</tr>
					
					<tr>
					<td class="width10" valign="top"><label class="form-label"> 备注： </label></td>
					<td class="width90" colspan="3">
						<textarea id="deptdesc" class="form-field" style="width:92%;height: 176px;" name="deptdesc" cols="" rows=""></textarea>
					</td>
					</tr>
					</table>
					<div class="fr">
						<input id="submitBtn" class="button themed" type="button" value="提交" name="submitBtn" />
						<input id="resetBtn" class="button red" type="button" value="重置" name="reset" />
					</div>
				</form>
				
				</div>
				
				<div id="dialog-confirm" title="删除部门">
					<p id="delDeptDialogP">
					<span  class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0; font-size:14px">
					</span>
					该操作将删除选定的部门信息，确定这样做?!
					</p>
				</div>
		</div>
		
		<div class="clear"></div>
</div> 
</div> 
</body>
</html>